package lambdasinaction.chap7;

/**
 * Created by ThinkPad on 2017/8/22.
 * 累加器
 */
public class Accumulator {
    private long total = 0;

    public void add(long value) {
        total += value;
    }
}
